﻿<%@ Page Title="" Language="C#" MasterPageFile="~/ExoticCarRental.Master" AutoEventWireup="true" CodeBehind="reservation.aspx.cs" Inherits="ExoticCarRental.reservation" %>
<%@ Register assembly="GMDatePicker" namespace="GrayMatterSoft" tagprefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
    .style28
    {
        width: 178px;
    }
        .style29
        {
            color: #FF0000;
            font-weight: bold;
        }
    </style>

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="cpMainContent" runat="server">
    <p>
    <b>Make Reservation:</b></p>

<table class="style1">
    <tr>
        <td>
            <table class="style1" style="width: 94%">
                <tr>
                    <td>
                        Email Address</td>
                    <td>
                        <asp:TextBox ID="txtEmailAddress" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                            ControlToValidate="txtEmailAddress" ErrorMessage="*"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        First Name</td>
                    <td>
                        <asp:TextBox ID="txtFirstName" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                            ControlToValidate="txtFirstName" ErrorMessage="*"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        Last Name</td>
                    <td>
                        <asp:TextBox ID="txtLastName" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                            ControlToValidate="txtLastName" ErrorMessage="*"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        Pick Up Date</td>
                    <td>
    	<cc1:GMDatePicker ID="PickUpDate" runat="server" CalendarFont-Names="Arial" 
                            InitialText="Pickup Date" CalendarWidth="300px"> 
			<CalendarDayStyle Font-Size="9pt" />
			<CalendarTodayDayStyle BorderWidth="1" BorderColor="darkred" Font-Bold="true" />
<CalendarFont Names="Arial"></CalendarFont>

			<CalendarOtherMonthDayStyle BackColor="whitesmoke" />
			<CalendarTitleStyle BackColor="#E0E0E0" Font-Names="Arial" Font-Size="9pt" />
		</cc1:GMDatePicker>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                            ControlToValidate="PickUpDate" ErrorMessage="*"></asp:RequiredFieldValidator>
                        </td>
                </tr>
                <tr>
                    <td>
                        Drop Off Date</td>
                    <td>
    	<cc1:GMDatePicker ID="DropOffDate" runat="server" CalendarFont-Names="Arial" 
                            InitialText="Drop Off Date" CalendarWidth="300px"> 
			<CalendarDayStyle Font-Size="9pt" />
			<CalendarTodayDayStyle BorderWidth="1" BorderColor="darkred" Font-Bold="true" />
<CalendarFont Names="Arial"></CalendarFont>

			<CalendarOtherMonthDayStyle BackColor="whitesmoke" />
			<CalendarTitleStyle BackColor="#E0E0E0" Font-Names="Arial" Font-Size="9pt" />
		</cc1:GMDatePicker>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                            ControlToValidate="DropOffDate" ErrorMessage="*"></asp:RequiredFieldValidator>
                        </td>
                </tr>
                <tr>
                    <td>
                        <asp:Button ID="btnSubmit" runat="server" Text="Submit" Height="26px" onclick="btnSubmit_Click" 
                             />
                    </td>
                    <td class="style29">
                        * denotes requred Field</td>
                </tr>
            </table>
        </td>
        <td>
            <table class="style1">
                <tr>
                    <td class="style28">
                        Location:</td>
                    <td>
                        <asp:DropDownList ID="cboLocations" runat="server">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="style28">
                        Category</td>
                    <td>
                        <asp:DropDownList ID="cboCategories" runat="server">
                </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="style28">
                        Credit Card #</td>
                    <td>
                        <asp:TextBox ID="txtCardNo" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                            ControlToValidate="txtCardNo" ErrorMessage="*"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="style28">
                        Card Type</td>
                    <td>
                        <asp:DropDownList ID="cboCreditCardType" runat="server">
                            <asp:ListItem Selected="True">Amex</asp:ListItem>
                            <asp:ListItem>Discover</asp:ListItem>
                            <asp:ListItem>MasterCard</asp:ListItem>
                            <asp:ListItem>Visa</asp:ListItem>
                </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="style28">
                        Card Expiry Month</td>
                    <td>
                        <asp:DropDownList ID="cboCardMonth" runat="server">
                            <asp:ListItem>1</asp:ListItem>
                            <asp:ListItem>2</asp:ListItem>
                            <asp:ListItem>3</asp:ListItem>
                            <asp:ListItem>4</asp:ListItem>
                            <asp:ListItem>5</asp:ListItem>
                            <asp:ListItem>6</asp:ListItem>
                            <asp:ListItem>7</asp:ListItem>
                            <asp:ListItem>8</asp:ListItem>
                            <asp:ListItem>9</asp:ListItem>
                            <asp:ListItem>10</asp:ListItem>
                            <asp:ListItem>11</asp:ListItem>
                            <asp:ListItem>12</asp:ListItem>
                </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="style28">
                        Card Expiry Year</td>
                    <td>
                        <asp:DropDownList ID="cboCardYear" runat="server">
                            <asp:ListItem>2008</asp:ListItem>
                            <asp:ListItem>2009</asp:ListItem>
                            <asp:ListItem>2010</asp:ListItem>
                </asp:DropDownList>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
</table>
</form>
</asp:Content>
